/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ht7;

import structure5.SplayTree;


/**
 *
 * @author Josué Barrientos - 09049
 */
public class WordSplay implements WordSet{
    
    private SplayTree<Word> arbolbiselado;
    
    public WordSplay(){
        arbolbiselado=new SplayTree();        
    }
    
    @Override
    public void add(Word wordObject) {
        arbolbiselado.add(wordObject);
    }

    @Override
    public Word get(Word word) {
        return arbolbiselado.get(word);
    }

}
